import { Component } from "react";
import '../css/NavContent.css'
export default class NavContent extends Component{
    constructor(props){
        super();
        this.state = {
            text : props.text
        }
    }

    render(){
        return(
            <>
                <div className="con">
                    <div className="textCon"><span>{this.state.text}</span></div>
                </div>
            </>
        )
    }
}